package com.ruoyi.law.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.domain.SortBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 提现管理
 * </p>
 *
 * @author code
 * @since 2022-12-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "LawCashOut对象", description = "提现管理")
public class LawCashOut extends SortBaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "提现金额")
    private BigDecimal money;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "提现方式，0:线上，1:线下")
    private String way;

    @ApiModelProperty(value = "状态，0:待处理，1:同意提现，2；拒绝体现")
    private String state;

    @ApiModelProperty(value = "拒绝原因")
    private String reason;

    @ApiModelProperty(value = "用户角色，1:普通用户，2:律师")
    private String role;

    @ApiModelProperty(value = "提现单号（outDetailNo）")
    private String num;

    @ApiModelProperty(value = "订单批次号")
    private String outBatchNo;

}
